import request from '../../utils/request'

//获取统计数据
export const GetStatistics=function GetStatistics(data: any){
    return request({
        url:'/api/Practice/GetStatistics',
        method:'get',
        params:data
    })
}

//更新任务完成次数
export const UpdateTaskFilishCount=function UpdateTaskFilishCount(data: any){
    return request({
        url:'/api/Practice/UpdateTaskFilishCount',
        method:'get',
        params:data
    })
}

//获取时间范围内刷题排行榜
export const GetLimitRepeatTop=function GetLimitRepeatTop(data: any){
    return request({
        url:'/api/Practice/GetLimitRepeatTop',
        method:'get',
        params:data
    })
}

//获取时间范围内任务排行榜
export const GetLimitTaskTop=function GetLimitTaskTop(data: any){
    return request({
        url:'/api/Practice/GetLimitTaskTop',
        method:'get',
        params:data
    })
}